package com.briup.ch06.outer;
import com.briup.ch06.extend.Father;
import com.briup.ch06.extend.Son;

public class Test {
    public static void main(String[] args) {
        Father f1=new Father();
        Son s1=new Son();
        //外部包只能访问public
        System.out.println(f1.address);
        Dauther d1=new Dauther();
        d1.show();
        System.out.println(d1.address);
    }
}
